package com.tomagency.cyberlab.client.events;

import java.util.Hashtable;
import java.util.Map;

import com.google.gwt.user.client.ui.HasText;

public interface ObjectEvent {
	
	  public static final int ONEXPAND=1;
	  public static final int ONCOLLAPSE=1;
	  public static final int ONBEGIN_EDIT=10;
	  public static final int ONSAVE_EDIT=11;
	  public static final int ONCANCEL_EDIT=11;
	  public static final int ONSETPROPERTIES=20;
	  public static final int ONINVOKE_FUNCTION=30;
	  public static final int ONCANCEL_FUNCTION=31;
	  
	  public int getEventType();
	  public void setEventType(int eventType);
	  public int getObjectId();
	  public void setObjectId(int id);
	  public int getFunctionCode();
	  public void setFunctionCode(int functionCode);
	  public Map<String,String>getProperties(); 
	  public void setProperties(Map<String,String> properties);
	  public HasText getMessageWidget();
	  public void setMessageWidget(HasText messageWidget);

}
